<?
	$caption_val = set_value('caption') == FALSE ?  NULL : set_value('caption');
	$caption_att = array('name'=>'caption','value'=>$caption_val);
	$announcement_date_val = set_value('announcement_date') == FALSE ?  NULL : set_value('announcement_date');
	$announcement_date_att = array('name'=>'announcement_date','value'=>$announcement_date_val,'class' => 'datepicker3');
	$announcement_val = set_value('announcement') == FALSE ?  NULL : set_value('announcement');
	$announcement_att = array('name'=>'announcement','value'=>$announcement_val);
 // $this->load->view('layouts/_flash');
 ?>

		<div class="input-block">
			<?
				echo form_label('Caption','Caption');
				echo form_input($caption_att);
			?>
		</div>
		<div class="input-block">
			<?
				echo form_label('Date','Date');
				echo form_input($announcement_date_att);
			?>
		</div>
		<div class="input-block">
			<?
				echo form_label('Announcement or Event','Announcement or Event');
				echo form_textarea($announcement_att);
			?>
		</div>